<?php include_once 'group_header.php';?>

	 <div class="main_left">
		<!--我的消息-->
		<div class="group_msg">
			<h2>我的消息</h2>
			<div class="msgbox">
				<div class="msg_type">
					<a href="#" class="on" id="atme_comment_show">群内评论</a>
					<a href="#" id="atme_message_show">群内@我的</a>
				</div>
				<div class="msg_list">
					<ul id="atme_comment">
					<?php foreach( $mycomm_list as $info ) { ?>
						<li>
							<a href="#" class="face"><img src="<?php echo $info['icon'];?>" style="width:40px;height:40px;" /></a>
							<div class="msg_r">
								<div class="name"><a href="index.php?mod=<?php echo $info['name'];?>"><?php echo $info['nickname'];?></a>：</div>
								<div class="msg">回复<a href="index.php?mod=<?php echo $info['parent_name'];?>">@<?php echo $info['parent_nickname'];?></a>: <?php echo $info['content'];?> （<?php echo $info[dateline];?>）<br />
		回复我的评论:"<a href="#"><?php echo $info['parent_content'];?></a> "</div>
								<div class="att">来自 : 聚友微博 <a href="#" class="float_r">回复</a></div>
							</div>
							<div class="float_both"></div>
						</li>
					<?php } ?>
					</ul>
					
					<ul id="atme_message" style="display:none;">
					<!-- 群内 @我 的 -->
					<?php foreach( $atme_list as $info ){ ?>
						<li>
							<a href="#" class="face"><img src="<?php echo $info['icon'];?>" style="width:40px;height:40px;" /></a>
							<div class="msg_r">
								<div class="name"><a href="index.php?mod=<?php echo $info['name'];?>"><?php echo $info['nickname'];?></a>：</div>
								<div class="msg"><?php echo $info['content'];?> （<?php echo $info[dateline];?>）</div>
								<div class="att">来自 : 聚友微博 <a href="#" class="float_r">回复</a></div>
							</div>
							<div class="float_both"></div>
						</li>
					<?php } ?>
					</ul>
				</div>
			</div>
		</div>
	</div>
<script type="text/javascript">
$(document).ready(function(){
	$("#atme_message_show").click(function(){
		$("#atme_comment").slideUp();
		$("#atme_message").slideDown();
		$("#atme_comment_show").removeClass("on");
		$("#atme_message_show").addClass("on");
	});
	$("#atme_comment_show").click(function(){
		$("#atme_message").slideUp();
		$("#atme_comment").slideDown();
		$("#atme_comment_show").addClass("on");
		$("#atme_message_show").removeClass("on");
	});

});
</script>
	
<?php include_once 'group_right.php';?>
